ISSDK  1.8
IoT Sensing Software Development Kit
pin_mux.c
Go to the documentation of this file.
1 /*
2  * Copyright 2017-2020 NXP
3  * All rights reserved.
4  *
5  * SPDX-License-Identifier: BSD-3-Clause
6  */
7 
8 /***********************************************************************************************************************
9  * This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file
10  * will be overwritten if the respective MCUXpresso Config Tools is used to update this file.
11  **********************************************************************************************************************/
12 
13 /* clang-format off */
14 /*
15  * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
16 !!GlobalInfo
17 product: Pins v8.0
18 processor: LPC55S16
19 package_id: LPC55S16JBD100
20 mcu_data: ksdk2_0
21 processor_version: 0.8.6
22  * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
23  */
24 /* clang-format on */
25 
26 #include "fsl_common.h"
27 #include "fsl_iocon.h"
28 #include "pin_mux.h"
29 #include "fsl_power.h"
30 
31 /* FUNCTION ************************************************************************************************************
32  *
33  * Function Name : BOARD_InitBootPins
34  * Description : Calls initialization functions.
35  *
36  * END ****************************************************************************************************************/
38 {
40 }
41 
42 /* clang-format off */
43 /*
44  * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
45 BOARD_InitPins:
46 - options: {callFromInitBoot: 'true', coreID: cm33_core0, enableClock: 'true'}
47 - pin_list:
48  - {pin_num: '94', peripheral: FLEXCOMM0, signal: TXD_SCL_MISO_WS, pin_signal: PIO0_30/FC0_TXD_SCL_MISO_WS/CTIMER0_MAT0/SCT0_OUT9/SECURE_GPIO0_30, mode: inactive,
49  slew_rate: standard, invert: disabled, open_drain: disabled}
50  - {pin_num: '92', peripheral: FLEXCOMM0, signal: RXD_SDA_MOSI_DATA, pin_signal: PIO0_29/FC0_RXD_SDA_MOSI_DATA/CTIMER2_MAT3/SCT0_OUT8/CMP0_OUT/PLU_OUT2/SECURE_GPIO0_29,
51  mode: inactive, slew_rate: standard, invert: disabled, open_drain: disabled}
52  * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
53  */
54 /* clang-format on */
55 
56 /* FUNCTION ************************************************************************************************************
57  *
58  * Function Name : BOARD_InitPins
59  * Description : Configures pin routing and optionally pin electrical features.
60  *
61  * END ****************************************************************************************************************/
62 /* Function assigned for the Cortex-M33 */
63 void BOARD_InitPins(void)
64 {
65  /* set BOD VBAT level to 1.65V */
66  POWER_SetBodVbatLevel(kPOWER_BodVbatLevel1650mv, kPOWER_BodHystLevel50mv, false);
67 
68  /* Enables the clock for the I/O controller.: Enable Clock. */
69  CLOCK_EnableClock(kCLOCK_Iocon);
70 
71  const uint32_t port0_pin29_config = (/* Pin is configured as FC0_RXD_SDA_MOSI_DATA */
73  /* No addition pin function */
75  /* Standard mode, output slew rate control is enabled */
77  /* Input function is not inverted */
79  /* Enables digital function */
81  /* Open drain is disabled */
83  /* PORT0 PIN29 (coords: 92) is configured as FC0_RXD_SDA_MOSI_DATA */
84  IOCON_PinMuxSet(IOCON, 0U, 29U, port0_pin29_config);
85 
86  const uint32_t port0_pin30_config = (/* Pin is configured as FC0_TXD_SCL_MISO_WS */
88  /* No addition pin function */
90  /* Standard mode, output slew rate control is enabled */
92  /* Input function is not inverted */
94  /* Enables digital function */
96  /* Open drain is disabled */
98  /* PORT0 PIN30 (coords: 94) is configured as FC0_TXD_SCL_MISO_WS */
99  IOCON_PinMuxSet(IOCON, 0U, 30U, port0_pin30_config);
100 
101  const uint32_t port0_pin15_config = (/* Pin is configured as PIO1_18 */
103  /* No addition pin function */
105  /* Standard mode, output slew rate control is enabled */
107  /* Input function is not inverted */
109  /* Enables digital function */
111  /* Open drain is disabled */
113  /* PORT0 PIN15 (coords: 64) is configured as PIO0_15 */
114  IOCON_PinMuxSet(IOCON, 0U, 15U, port0_pin15_config);
115 }
116 
117 /* clang-format off */
118 /*
119  * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
120 I2C4_InitPins:
121 - options: {callFromInitBoot: 'true', coreID: cm33_core0, enableClock: 'true'}
122 - pin_list:
123  - {pin_num: '30', peripheral: FLEXCOMM4, signal: RXD_SDA_MOSI_DATA, pin_signal: PIO1_21/FC7_CTS_SDA_SSEL0/CTIMER3_MAT2/FC4_RXD_SDA_MOSI_DATA/PLU_OUT3, mode: pullUp,
124  slew_rate: standard, invert: disabled, open_drain: enabled}
125  - {pin_num: '4', peripheral: FLEXCOMM4, signal: TXD_SCL_MISO_WS, pin_signal: PIO1_20/FC7_RTS_SCL_SSEL1/CT_INP14/FC4_TXD_SCL_MISO_WS/PLU_OUT2, mode: pullUp, slew_rate: standard,
126  invert: disabled, open_drain: enabled}
127  * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
128  */
129 /* clang-format on */
130 
131 /* FUNCTION ************************************************************************************************************
132  *
133  * Function Name : I2C4_InitPins
134  * Description : Configures pin routing and optionally pin electrical features.
135  *
136  * END ****************************************************************************************************************/
137 /* Function assigned for the Cortex-M33 */
138 void I2C4_InitPins(void)
139 {
140  /* Enables the clock for the I/O controller.: Enable Clock. */
141  CLOCK_EnableClock(kCLOCK_Iocon);
142 
143  const uint32_t port1_pin20_config = (/* Pin is configured as FC4_TXD_SCL_MISO_WS */
145  /* Selects pull-up function */
147  /* Standard mode, output slew rate control is enabled */
149  /* Input function is not inverted */
151  /* Enables digital function */
153  /* Open drain is enabled */
155  /* PORT1 PIN20 (coords: 4) is configured as FC4_TXD_SCL_MISO_WS */
156  IOCON_PinMuxSet(IOCON, 1U, 20U, port1_pin20_config);
157 
158  const uint32_t port1_pin21_config = (/* Pin is configured as FC4_RXD_SDA_MOSI_DATA */
160  /* Selects pull-up function */
162  /* Standard mode, output slew rate control is enabled */
164  /* Input function is not inverted */
166  /* Enables digital function */
168  /* Open drain is enabled */
170  /* PORT1 PIN21 (coords: 30) is configured as FC4_RXD_SDA_MOSI_DATA */
171  IOCON_PinMuxSet(IOCON, 1U, 21U, port1_pin21_config);
172 }
173 
174 /* clang-format off */
175 /*
176  * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
177 I2C4_DeinitPins:
178 - options: {callFromInitBoot: 'false', coreID: cm33_core0, enableClock: 'true'}
179 - pin_list:
180  - {pin_num: '4', peripheral: GPIO, signal: 'PIO1, 20', pin_signal: PIO1_20/FC7_RTS_SCL_SSEL1/CT_INP14/FC4_TXD_SCL_MISO_WS/PLU_OUT2, mode: inactive, slew_rate: standard,
181  invert: disabled, open_drain: disabled}
182  - {pin_num: '30', peripheral: GPIO, signal: 'PIO1, 21', pin_signal: PIO1_21/FC7_CTS_SDA_SSEL0/CTIMER3_MAT2/FC4_RXD_SDA_MOSI_DATA/PLU_OUT3, mode: inactive, slew_rate: standard,
183  invert: disabled, open_drain: disabled}
184  * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
185  */
186 /* clang-format on */
187 
188 /* FUNCTION ************************************************************************************************************
189  *
190  * Function Name : I2C4_DeinitPins
191  * Description : Configures pin routing and optionally pin electrical features.
192  *
193  * END ****************************************************************************************************************/
194 /* Function assigned for the Cortex-M33 */
195 void I2C4_DeinitPins(void)
196 {
197  /* Enables the clock for the I/O controller.: Enable Clock. */
198  CLOCK_EnableClock(kCLOCK_Iocon);
199 
200  const uint32_t port1_pin20_config = (/* Pin is configured as PIO1_20 */
202  /* No addition pin function */
204  /* Standard mode, output slew rate control is enabled */
206  /* Input function is not inverted */
208  /* Enables digital function */
210  /* Open drain is disabled */
212  /* PORT1 PIN20 (coords: 4) is configured as PIO1_20 */
213  IOCON_PinMuxSet(IOCON, 1U, 20U, port1_pin20_config);
214 
215  const uint32_t port1_pin21_config = (/* Pin is configured as PIO1_21 */
217  /* No addition pin function */
219  /* Standard mode, output slew rate control is enabled */
221  /* Input function is not inverted */
223  /* Enables digital function */
225  /* Open drain is disabled */
227  /* PORT1 PIN21 (coords: 30) is configured as PIO1_21 */
228  IOCON_PinMuxSet(IOCON, 1U, 21U, port1_pin21_config);
229 }
230 
231 /* clang-format off */
232 /*
233  * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
234 USART0_InitPins:
235 - options: {callFromInitBoot: 'true', coreID: cm33_core0, enableClock: 'true'}
236 - pin_list:
237  - {pin_num: '94', peripheral: FLEXCOMM0, signal: TXD_SCL_MISO_WS, pin_signal: PIO0_30/FC0_TXD_SCL_MISO_WS/CTIMER0_MAT0/SCT0_OUT9/SECURE_GPIO0_30, mode: inactive,
238  slew_rate: standard, invert: disabled, open_drain: disabled}
239  - {pin_num: '92', peripheral: FLEXCOMM0, signal: RXD_SDA_MOSI_DATA, pin_signal: PIO0_29/FC0_RXD_SDA_MOSI_DATA/CTIMER2_MAT3/SCT0_OUT8/CMP0_OUT/PLU_OUT2/SECURE_GPIO0_29,
240  mode: inactive, slew_rate: standard, invert: disabled, open_drain: disabled}
241  * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
242  */
243 /* clang-format on */
244 
245 /* FUNCTION ************************************************************************************************************
246  *
247  * Function Name : USART0_InitPins
248  * Description : Configures pin routing and optionally pin electrical features.
249  *
250  * END ****************************************************************************************************************/
251 /* Function assigned for the Cortex-M33 */
252 void USART0_InitPins(void)
253 {
254  /* Enables the clock for the I/O controller.: Enable Clock. */
255  CLOCK_EnableClock(kCLOCK_Iocon);
256 
257  const uint32_t port0_pin29_config = (/* Pin is configured as FC0_RXD_SDA_MOSI_DATA */
259  /* No addition pin function */
261  /* Standard mode, output slew rate control is enabled */
263  /* Input function is not inverted */
265  /* Enables digital function */
267  /* Open drain is disabled */
269  /* PORT0 PIN29 (coords: 92) is configured as FC0_RXD_SDA_MOSI_DATA */
270  IOCON_PinMuxSet(IOCON, 0U, 29U, port0_pin29_config);
271 
272  const uint32_t port0_pin30_config = (/* Pin is configured as FC0_TXD_SCL_MISO_WS */
274  /* No addition pin function */
276  /* Standard mode, output slew rate control is enabled */
278  /* Input function is not inverted */
280  /* Enables digital function */
282  /* Open drain is disabled */
284  /* PORT0 PIN30 (coords: 94) is configured as FC0_TXD_SCL_MISO_WS */
285  IOCON_PinMuxSet(IOCON, 0U, 30U, port0_pin30_config);
286 }
287 
288 /* clang-format off */
289 /*
290  * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
291 USART0_DeinitPins:
292 - options: {callFromInitBoot: 'false', coreID: cm33_core0, enableClock: 'true'}
293 - pin_list:
294  - {pin_num: '92', peripheral: GPIO, signal: 'PIO0, 29', pin_signal: PIO0_29/FC0_RXD_SDA_MOSI_DATA/CTIMER2_MAT3/SCT0_OUT8/CMP0_OUT/PLU_OUT2/SECURE_GPIO0_29, mode: inactive,
295  slew_rate: standard, invert: disabled, open_drain: disabled}
296  - {pin_num: '94', peripheral: GPIO, signal: 'PIO0, 30', pin_signal: PIO0_30/FC0_TXD_SCL_MISO_WS/CTIMER0_MAT0/SCT0_OUT9/SECURE_GPIO0_30, mode: inactive, slew_rate: standard,
297  invert: disabled, open_drain: disabled}
298  * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
299  */
300 /* clang-format on */
301 
302 /* FUNCTION ************************************************************************************************************
303  *
304  * Function Name : USART0_DeinitPins
305  * Description : Configures pin routing and optionally pin electrical features.
306  *
307  * END ****************************************************************************************************************/
308 /* Function assigned for the Cortex-M33 */
310 {
311  /* Enables the clock for the I/O controller.: Enable Clock. */
312  CLOCK_EnableClock(kCLOCK_Iocon);
313 
314  const uint32_t port0_pin29_config = (/* Pin is configured as PIO0_29 */
316  /* No addition pin function */
318  /* Standard mode, output slew rate control is enabled */
320  /* Input function is not inverted */
322  /* Enables digital function */
324  /* Open drain is disabled */
326  /* PORT0 PIN29 (coords: 92) is configured as PIO0_29 */
327  IOCON_PinMuxSet(IOCON, 0U, 29U, port0_pin29_config);
328 
329  const uint32_t port0_pin30_config = (/* Pin is configured as PIO0_30 */
331  /* No addition pin function */
333  /* Standard mode, output slew rate control is enabled */
335  /* Input function is not inverted */
337  /* Enables digital function */
339  /* Open drain is disabled */
341  /* PORT0 PIN30 (coords: 94) is configured as PIO0_30 */
342  IOCON_PinMuxSet(IOCON, 0U, 30U, port0_pin30_config);
343 }
344 
345 /* clang-format off */
346 /*
347  * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
348 SPI8_InitPins:
349 - options: {callFromInitBoot: 'false', coreID: cm33_core0, enableClock: 'true'}
350 - pin_list:
351  - {pin_num: '61', peripheral: FLEXCOMM8, signal: HS_SPI_SCK, pin_signal: PIO1_2/CAN0_TD/CTIMER0_MAT3/SCT_GPI6/HS_SPI_SCK/USB1_PORTPWRN/PLU_OUT5, mode: pullUp, slew_rate: standard,
352  invert: disabled, open_drain: disabled}
353  - {pin_num: '60', peripheral: FLEXCOMM8, signal: HS_SPI_MOSI, pin_signal: PIO0_26/FC2_RXD_SDA_MOSI_DATA/CLKOUT/CT_INP14/SCT0_OUT5/USB0_IDVALUE/FC0_SCK/HS_SPI_MOSI/SECURE_GPIO0_26,
354  mode: pullUp, slew_rate: standard, invert: disabled, open_drain: disabled}
355  - {pin_num: '62', peripheral: FLEXCOMM8, signal: HS_SPI_MISO, pin_signal: PIO1_3/CAN0_RD/SCT0_OUT4/HS_SPI_MISO/USB0_PORTPWRN/PLU_OUT6, mode: pullUp, slew_rate: standard,
356  invert: disabled, open_drain: disabled}
357  - {pin_num: '59', peripheral: FLEXCOMM8, signal: HS_SPI_SSEL1, pin_signal: PIO1_1/FC3_RXD_SDA_MOSI_DATA/CT_INP3/SCT_GPI5/HS_SPI_SSEL1/USB1_OVERCURRENTN/PLU_OUT4,
358  mode: pullUp, slew_rate: standard, invert: disabled, open_drain: disabled}
359  * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
360  */
361 /* clang-format on */
362 
363 /* FUNCTION ************************************************************************************************************
364  *
365  * Function Name : SPI8_InitPins
366  * Description : Configures pin routing and optionally pin electrical features.
367  *
368  * END ****************************************************************************************************************/
369 /* Function assigned for the Cortex-M33 */
370 void SPI8_InitPins(void)
371 {
372  /* Enables the clock for the I/O controller.: Enable Clock. */
373  CLOCK_EnableClock(kCLOCK_Iocon);
374 
375  const uint32_t port0_pin26_config = (/* Pin is configured as HS_SPI_MOSI */
377  /* Selects pull-up function */
379  /* Standard mode, output slew rate control is enabled */
381  /* Input function is not inverted */
383  /* Enables digital function */
385  /* Open drain is disabled */
387  /* PORT0 PIN26 (coords: 60) is configured as HS_SPI_MOSI */
388  IOCON_PinMuxSet(IOCON, 0U, 26U, port0_pin26_config);
389 
390  const uint32_t port1_pin1_config = (/* Pin is configured as HS_SPI_SSEL1 */
392  /* Selects pull-up function */
394  /* Standard mode, output slew rate control is enabled */
396  /* Input function is not inverted */
398  /* Enables digital function */
400  /* Open drain is disabled */
402  /* PORT1 PIN1 (coords: 59) is configured as HS_SPI_SSEL1 */
403  IOCON_PinMuxSet(IOCON, 1U, 1U, port1_pin1_config);
404 
405  const uint32_t port1_pin2_config = (/* Pin is configured as HS_SPI_SCK */
407  /* Selects pull-up function */
409  /* Standard mode, output slew rate control is enabled */
411  /* Input function is not inverted */
413  /* Enables digital function */
415  /* Open drain is disabled */
417  /* PORT1 PIN2 (coords: 61) is configured as HS_SPI_SCK */
418  IOCON_PinMuxSet(IOCON, 1U, 2U, port1_pin2_config);
419 
420  const uint32_t port1_pin3_config = (/* Pin is configured as HS_SPI_MISO */
422  /* Selects pull-up function */
424  /* Standard mode, output slew rate control is enabled */
426  /* Input function is not inverted */
428  /* Enables digital function */
430  /* Open drain is disabled */
432  /* PORT1 PIN3 (coords: 62) is configured as HS_SPI_MISO */
433  IOCON_PinMuxSet(IOCON, 1U, 3U, port1_pin3_config);
434 }
435 
436 /* clang-format off */
437 /*
438  * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
439 SPI8_DeinitPins:
440 - options: {callFromInitBoot: 'false', coreID: cm33_core0, enableClock: 'true'}
441 - pin_list: []
442  * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
443  */
444 /* clang-format on */
445 
446 /* FUNCTION ************************************************************************************************************
447  *
448  * Function Name : SPI8_DeinitPins
449  * Description : Configures pin routing and optionally pin electrical features.
450  *
451  * END ****************************************************************************************************************/
452 /* Function assigned for the Cortex-M33 */
453 void SPI8_DeinitPins(void)
454 {
455 }
456 
457 /* clang-format off */
458 /*
459  * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
460 SPI7_InitPins:
461 - options: {callFromInitBoot: 'true', coreID: cm33_core0, enableClock: 'true'}
462 - pin_list:
463  - {pin_num: '90', peripheral: FLEXCOMM7, signal: TXD_SCL_MISO_WS, pin_signal: PIO0_19/FC4_RTS_SCL_SSEL1/UTICK_CAP0/CTIMER0_MAT2/SCT0_OUT2/FC7_TXD_SCL_MISO_WS/PLU_IN4/SECURE_GPIO0_19,
464  mode: pullUp, slew_rate: standard, invert: disabled, open_drain: disabled}
465  - {pin_num: '74', peripheral: FLEXCOMM7, signal: RXD_SDA_MOSI_DATA, pin_signal: PIO0_20/FC3_CTS_SDA_SSEL0/CTIMER1_MAT1/CT_INP15/SCT_GPI2/FC7_RXD_SDA_MOSI_DATA/HS_SPI_SSEL0/PLU_IN5/SECURE_GPIO0_20/FC4_TXD_SCL_MISO_WS,
466  mode: pullUp, slew_rate: standard, invert: disabled, open_drain: disabled}
467  - {pin_num: '76', peripheral: FLEXCOMM7, signal: SCK, pin_signal: PIO0_21/FC3_RTS_SCL_SSEL1/UTICK_CAP3/CTIMER3_MAT3/SCT_GPI3/FC7_SCK/HS_SPI_SSEL3/PLU_CLKIN/SECURE_GPIO0_21,
468  mode: pullUp, slew_rate: standard, invert: disabled, open_drain: disabled}
469  - {pin_num: '4', peripheral: FLEXCOMM7, signal: RTS_SCL_SSEL1, pin_signal: PIO1_20/FC7_RTS_SCL_SSEL1/CT_INP14/FC4_TXD_SCL_MISO_WS/PLU_OUT2, mode: pullUp, slew_rate: standard,
470  invert: disabled, open_drain: disabled}
471  * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
472  */
473 /* clang-format on */
474 
475 /* FUNCTION ************************************************************************************************************
476  *
477  * Function Name : SPI7_InitPins
478  * Description : Configures pin routing and optionally pin electrical features.
479  *
480  * END ****************************************************************************************************************/
481 /* Function assigned for the Cortex-M33 */
482 void SPI7_InitPins(void)
483 {
484  /* Enables the clock for the I/O controller.: Enable Clock. */
485  CLOCK_EnableClock(kCLOCK_Iocon);
486 
487  const uint32_t port0_pin19_config = (/* Pin is configured as FC7_TXD_SCL_MISO_WS */
489  /* Selects pull-up function */
491  /* Standard mode, output slew rate control is enabled */
493  /* Input function is not inverted */
495  /* Enables digital function */
497  /* Open drain is disabled */
499  /* PORT0 PIN19 (coords: 90) is configured as FC7_TXD_SCL_MISO_WS */
500  IOCON_PinMuxSet(IOCON, 0U, 19U, port0_pin19_config);
501 
502  const uint32_t port0_pin20_config = (/* Pin is configured as FC7_RXD_SDA_MOSI_DATA */
504  /* Selects pull-up function */
506  /* Standard mode, output slew rate control is enabled */
508  /* Input function is not inverted */
510  /* Enables digital function */
512  /* Open drain is disabled */
514  /* PORT0 PIN20 (coords: 74) is configured as FC7_RXD_SDA_MOSI_DATA */
515  IOCON_PinMuxSet(IOCON, 0U, 20U, port0_pin20_config);
516 
517  const uint32_t port0_pin21_config = (/* Pin is configured as FC7_SCK */
519  /* Selects pull-up function */
521  /* Standard mode, output slew rate control is enabled */
523  /* Input function is not inverted */
525  /* Enables digital function */
527  /* Open drain is disabled */
529  /* PORT0 PIN21 (coords: 76) is configured as FC7_SCK */
530  IOCON_PinMuxSet(IOCON, 0U, 21U, port0_pin21_config);
531 
532  const uint32_t port1_pin20_config = (/* Pin is configured as FC7_RTS_SCL_SSEL1 */
534  /* Selects pull-up function */
536  /* Standard mode, output slew rate control is enabled */
538  /* Input function is not inverted */
540  /* Enables digital function */
542  /* Open drain is disabled */
544  /* PORT1 PIN20 (coords: 4) is configured as FC7_RTS_SCL_SSEL1 */
545  IOCON_PinMuxSet(IOCON, 1U, 20U, port1_pin20_config);
546 }
547 
548 /* clang-format off */
549 /*
550  * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
551 SPI7_DeinitPins:
552 - options: {callFromInitBoot: 'false', coreID: cm33_core0, enableClock: 'true'}
553 - pin_list:
554  - {pin_num: '90', peripheral: GPIO, signal: 'PIO0, 19', pin_signal: PIO0_19/FC4_RTS_SCL_SSEL1/UTICK_CAP0/CTIMER0_MAT2/SCT0_OUT2/FC7_TXD_SCL_MISO_WS/PLU_IN4/SECURE_GPIO0_19,
555  mode: pullUp, slew_rate: standard, invert: disabled, open_drain: disabled}
556  - {pin_num: '74', peripheral: GPIO, signal: 'PIO0, 20', pin_signal: PIO0_20/FC3_CTS_SDA_SSEL0/CTIMER1_MAT1/CT_INP15/SCT_GPI2/FC7_RXD_SDA_MOSI_DATA/HS_SPI_SSEL0/PLU_IN5/SECURE_GPIO0_20/FC4_TXD_SCL_MISO_WS,
557  mode: pullUp, slew_rate: standard, invert: disabled, open_drain: disabled}
558  - {pin_num: '76', peripheral: GPIO, signal: 'PIO0, 21', pin_signal: PIO0_21/FC3_RTS_SCL_SSEL1/UTICK_CAP3/CTIMER3_MAT3/SCT_GPI3/FC7_SCK/HS_SPI_SSEL3/PLU_CLKIN/SECURE_GPIO0_21,
559  mode: pullUp, slew_rate: standard, invert: disabled, open_drain: disabled}
560  - {pin_num: '4', peripheral: GPIO, signal: 'PIO1, 20', pin_signal: PIO1_20/FC7_RTS_SCL_SSEL1/CT_INP14/FC4_TXD_SCL_MISO_WS/PLU_OUT2, mode: pullUp, slew_rate: standard,
561  invert: disabled, open_drain: disabled}
562  * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
563  */
564 /* clang-format on */
565 
566 /* FUNCTION ************************************************************************************************************
567  *
568  * Function Name : SPI7_DeinitPins
569  * Description : Configures pin routing and optionally pin electrical features.
570  *
571  * END ****************************************************************************************************************/
572 /* Function assigned for the Cortex-M33 */
573 void SPI7_DeinitPins(void)
574 {
575  /* Enables the clock for the I/O controller.: Enable Clock. */
576  CLOCK_EnableClock(kCLOCK_Iocon);
577 
578  const uint32_t port0_pin19_config = (/* Pin is configured as PIO0_19 */
580  /* Selects pull-up function */
582  /* Standard mode, output slew rate control is enabled */
584  /* Input function is not inverted */
586  /* Enables digital function */
588  /* Open drain is disabled */
590  /* PORT0 PIN19 (coords: 90) is configured as PIO0_19 */
591  IOCON_PinMuxSet(IOCON, 0U, 19U, port0_pin19_config);
592 
593  const uint32_t port0_pin20_config = (/* Pin is configured as PIO0_20 */
595  /* Selects pull-up function */
597  /* Standard mode, output slew rate control is enabled */
599  /* Input function is not inverted */
601  /* Enables digital function */
603  /* Open drain is disabled */
605  /* PORT0 PIN20 (coords: 74) is configured as PIO0_20 */
606  IOCON_PinMuxSet(IOCON, 0U, 20U, port0_pin20_config);
607 
608  const uint32_t port0_pin21_config = (/* Pin is configured as PIO0_21 */
610  /* Selects pull-up function */
612  /* Standard mode, output slew rate control is enabled */
614  /* Input function is not inverted */
616  /* Enables digital function */
618  /* Open drain is disabled */
620  /* PORT0 PIN21 (coords: 76) is configured as PIO0_21 */
621  IOCON_PinMuxSet(IOCON, 0U, 21U, port0_pin21_config);
622 
623  const uint32_t port1_pin20_config = (/* Pin is configured as PIO1_20 */
625  /* Selects pull-up function */
627  /* Standard mode, output slew rate control is enabled */
629  /* Input function is not inverted */
631  /* Enables digital function */
633  /* Open drain is disabled */
635  /* PORT1 PIN20 (coords: 4) is configured as PIO1_20 */
636  IOCON_PinMuxSet(IOCON, 1U, 20U, port1_pin20_config);
637 }
638 /***********************************************************************************************************************
639  * EOF
640  **********************************************************************************************************************/
#define IOCON_PIO_FUNC6
Selects pin function 6.
Definition: pin_mux.h:141
#define IOCON_PIO_FUNC0
Selects pin function 0.
Definition: pin_mux.h:115
void SPI7_InitPins(void)
Configures pin routing and optionally pin electrical features.
Definition: pin_mux.c:482
#define IOCON_PIO_MODE_PULLUP
Definition: pin_mux.c:538
#define IOCON_PIO_FUNC9
Selects pin function 9.
Definition: pin_mux.h:142
#define IOCON_PIO_MODE_INACT
Definition: pin_mux.c:269
#define IOCON_PIO_OPENDRAIN_EN
Open drain is enabled.
Definition: pin_mux.h:145
#define IOCON_PIO_FUNC1
Definition: pin_mux.c:534
#define IOCON_PIO_OPENDRAIN_DI
Definition: pin_mux.c:539
void SPI8_InitPins(void)
Configures pin routing and optionally pin electrical features.
Definition: pin_mux.c:370
#define IOCON_PIO_DIGITAL_EN
Definition: pin_mux.c:533
void BOARD_InitBootPins(void)
Calls initialization functions.
Definition: pin_mux.c:37
void USART0_DeinitPins(void)
Configures pin routing and optionally pin electrical features.
Definition: pin_mux.c:157
#define IOCON_PIO_INV_DI
Definition: pin_mux.c:537
#define IOCON_PIO_SLEW_STANDARD
Definition: pin_mux.c:540
#define IOCON_PIO_FUNC5
Selects pin function 5.
Definition: pin_mux.h:140
void SPI7_DeinitPins(void)
Configures pin routing and optionally pin electrical features.
Definition: pin_mux.c:573
void BOARD_InitPins(void)
Configures pin routing and optionally pin electrical features.
Definition: pin_mux.c:47
void I2C4_DeinitPins(void)
Configures pin routing and optionally pin electrical features.
Definition: pin_mux.c:249
void SPI8_DeinitPins(void)
Configures pin routing and optionally pin electrical features.
Definition: pin_mux.c:453
#define IOCON_PIO_FUNC7
Selects pin function 7.
Definition: pin_mux.h:102
void I2C4_InitPins(void)
Configures pin routing and optionally pin electrical features.
Definition: pin_mux.c:202
void USART0_InitPins(void)
Configures pin routing and optionally pin electrical features.
Definition: pin_mux.c:110